LXDでHome Assistantを動かす
code:bash
# make a directory to work from
mkdir haos
cd haos/
# download the KVM image
# extract it
xz -d haos_ova-10.1.qcow2.xz
# make a metadata.yaml file and compress it
cat << EOF > metadata.yaml
architecture: x86_64
creation_date: 1624888256
properties:
description: Home Assistant image
os: Debian
release: buster 10.10
EOF
tar -cvzf metadata.tar.gz metadata.yaml
# import both the KVM image and the metadata file as a new image called "haos"
lxc image import metadata.tar.gz haos_ova-10.1.qcow2 --alias haos
# launch it as a VM
lxc launch haos ha --vm -c security.secureboot=false -d root,size=32GiB
lxc stop ha
lxc config set ha limits.cpu=2 limits.memory=2GiB
lxc start ha
これでいける
組み込みデバイスのドライバーの問題かもしれないのでBluetoothドングル挿してもうちょっと頑張ってみたい
=>いけた